package com.atguigu.gmall.realtime.tutorial.beans;

public class WindowBean {
    private String id;
    private Long timestamp;
    private Double temperature;

    private String start;
    private String end;

    public WindowBean() {
    }

    public WindowBean(String id, Long timestamp, Double temperature, String start, String end) {
        this.id = id;
        this.timestamp = timestamp;
        this.temperature = temperature;
        this.start = start;
        this.end = end;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    @Override
    public String toString() {
        return "WindowBean{" +
                "id='" + id + '\'' +
                ", timestamp=" + timestamp +
                ", temperature=" + temperature +
                ", start='" + start + '\'' +
                ", end='" + end + '\'' +
                '}';
    }

    public void setEnd(String end) {
        this.end = end;
    }
}
